<?php
/**
 * Description of newaformatgradeform
 *
 * @author Bojan Mitrović
 */
require_once("$CFG->libdir/formslib.php");
class newaformatgradeform extends moodleform {
    function  definition() {
        
    }
    function redefine($forumId, $userId, $gradeId, $grade, $gradeType){
        $this->_form->addElement('text', "aformatgrade{$forumId}n{$userId}n{$gradeId}", $gradeType, array('value'=>$grade));
    }
}
?>
